<%@ page import="com.text.User" %><%--
  Created by IntelliJ IDEA.
  User: 86177
  Date: 2023/4/11
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<body>
<%
    request.setCharacterEncoding("utf-8");
    response.setContentType("text/html;charset=UTF-8"); //解决乱码问题

    String tittle = request.getParameter("tittle");
    String context = request.getParameter("context");
    User user = (User) request.getSession().getAttribute("user");
%>
留言者：<%=user.getUsername()%><br>
留言标题：<%=tittle%><br>
留言内容：<%=context%>

</body>

</body>
</html>
